package com.linpq.road.domain;

import java.util.Date;
import com.linpq.common.annotation.Excel;
import com.linpq.common.annotation.Excels;
import com.linpq.common.core.domain.DataEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 路段对象 rd_road_section
 *
 * @author linpq
 * @date 2021-07-29
 */
public class RdRoadSection extends DataEntity<RdRoadSection> {
private static final long serialVersionUID=1L;

    /** 归属高速 */
    @Excels({
            @Excel(name = "归属高速", targetAttr = "name", type = Excel.Type.EXPORT)
    })
    private RdHighSpeedRoad rdHighSpeedRoad;
    /** 管养单位 */
    @Excels({
           @Excel(name="管养单位", targetAttr = "name", type = Excel.Type.EXPORT)
    })
    private RdManagementUnit rdManagementUnit;
    /** 归属高速 */
    @Excel(name = "归属高速")
    private String fkId;
    /** 管养单位 */
    @Excel(name = "管养单位")
    private String muId;
    /** 删除标志 */
    private String delFlag;
    /** 路段 */
    @Excel(name = "路段")
    private String sectionName;
    /** 数据日期 */
    @Excel(name = "数据日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dataTime;
    /** 编号 */
    @Excel(name = "编号")
    private String sectionId;
    /** 起点 */
    @Excel(name = "起点")
    private String startName;
    /** 终点 */
    @Excel(name = "终点")
    private String endName;
    /** 起始桩号 */
    @Excel(name = "起始桩号")
    private String startPileNumber;
    /** 结束桩号 */
    @Excel(name = "结束桩号")
    private String endPileNumber;
    /** 通车时间 */
    @Excel(name = "通车时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date useTime;
    /** 序列号 */
    @Excel(name = "序列号")
    private String serialNumber;
    /** 锁定状态*/
    private String locked;
    /**路桩对象*/
    private RdRoadStake rdRoadStake;
    /**环境对象*/
    private RdClimateEnvironment rdClimateEnvironment;
    /**检测数据对象*/
    private RdMonitoringData rdMonitoringData;
    /**路面破损对象*/
    private RdPavementDamage rdPavementDamage;
    /**路面性能对象*/
    private RdPavementPerformance rdPavementPerformance;
    /**路面结构对象*/
    private RdPavementStructure rdPavementStructure;
    /**路面线性对象*/
    private RdRoadLinearity rdRoadLinearity;
    /**空间信息对象*/
    private RdSpatialInfo rdSpatialInfo;
    /**交通信息对象*/
    private RdTrafficInfo rdTrafficInfo;
    /**路面材料对象*/
    private RdPavementMaterials rdPavementMaterials;

    public RdRoadStake getRdRoadStake() {
        return rdRoadStake;
    }

    public void setRdRoadStake(RdRoadStake rdRoadStake) {
        this.rdRoadStake = rdRoadStake;
    }

    public RdClimateEnvironment getRdClimateEnvironment() {
        return rdClimateEnvironment;
    }

    public void setRdClimateEnvironment(RdClimateEnvironment rdClimateEnvironment) {
        this.rdClimateEnvironment = rdClimateEnvironment;
    }

    public RdMonitoringData getRdMonitoringData() {
        return rdMonitoringData;
    }

    public void setRdMonitoringData(RdMonitoringData rdMonitoringData) {
        this.rdMonitoringData = rdMonitoringData;
    }

    public RdPavementDamage getRdPavementDamage() {
        return rdPavementDamage;
    }

    public void setRdPavementDamage(RdPavementDamage rdPavementDamage) {
        this.rdPavementDamage = rdPavementDamage;
    }

    public RdPavementPerformance getRdPavementPerformance() {
        return rdPavementPerformance;
    }

    public void setRdPavementPerformance(RdPavementPerformance rdPavementPerformance) {
        this.rdPavementPerformance = rdPavementPerformance;
    }

    public RdPavementStructure getRdPavementStructure() {
        return rdPavementStructure;
    }

    public void setRdPavementStructure(RdPavementStructure rdPavementStructure) {
        this.rdPavementStructure = rdPavementStructure;
    }

    public RdRoadLinearity getRdRoadLinearity() {
        return rdRoadLinearity;
    }

    public void setRdRoadLinearity(RdRoadLinearity rdRoadLinearity) {
        this.rdRoadLinearity = rdRoadLinearity;
    }

    public RdSpatialInfo getRdSpatialInfo() {
        return rdSpatialInfo;
    }

    public void setRdSpatialInfo(RdSpatialInfo rdSpatialInfo) {
        this.rdSpatialInfo = rdSpatialInfo;
    }

    public RdTrafficInfo getRdTrafficInfo() {
        return rdTrafficInfo;
    }

    public void setRdTrafficInfo(RdTrafficInfo rdTrafficInfo) {
        this.rdTrafficInfo = rdTrafficInfo;
    }

    public RdPavementMaterials getRdPavementMaterials() {
        return rdPavementMaterials;
    }

    public void setRdPavementMaterials(RdPavementMaterials rdPavementMaterials) {
        this.rdPavementMaterials = rdPavementMaterials;
    }

    public String getLocked() {
        return locked;
    }

    public void setLocked(String locked) {
        this.locked = locked;
    }

    public void setFkId(String fkId){
        this.fkId = fkId;
    }

    public String getFkId(){
        return fkId;
    }
    public void setMuId(String muId){
        this.muId = muId;
    }

    public String getMuId(){
        return muId;
    }
    @Override
    public void setDelFlag(String delFlag){
        this.delFlag = delFlag;
    }

    @Override
    public String getDelFlag(){
        return delFlag;
    }

    public RdHighSpeedRoad getRdHighSpeedRoad() {
        return rdHighSpeedRoad;
    }

    public void setRdHighSpeedRoad(RdHighSpeedRoad rdHighSpeedRoad) {
        this.rdHighSpeedRoad = rdHighSpeedRoad;
    }

    public RdManagementUnit getRdManagementUnit() {
        return rdManagementUnit;
    }

    public void setRdManagementUnit(RdManagementUnit rdManagementUnit) {
        this.rdManagementUnit = rdManagementUnit;
    }

    public void setSectionName(String sectionName){
        this.sectionName = sectionName;
    }

    public String getSectionName(){
        return sectionName;
    }
    public void setDataTime(Date dataTime){
        this.dataTime = dataTime;
    }

    public Date getDataTime(){
        return dataTime;
    }
    public void setSectionId(String sectionId){
        this.sectionId = sectionId;
    }

    public String getSectionId(){
        return sectionId;
    }
    public void setStartName(String startName){
        this.startName = startName;
    }

    public String getStartName(){
        return startName;
    }
    public void setEndName(String endName){
        this.endName = endName;
    }

    public String getEndName(){
        return endName;
    }
    public void setStartPileNumber(String startPileNumber){
        this.startPileNumber = startPileNumber;
    }

    public String getStartPileNumber(){
        return startPileNumber;
    }
    public void setEndPileNumber(String endPileNumber){
        this.endPileNumber = endPileNumber;
    }

    public String getEndPileNumber(){
        return endPileNumber;
    }
    public void setUseTime(Date useTime){
        this.useTime = useTime;
    }

    public Date getUseTime(){
        return useTime;
    }
    public void setSerialNumber(String serialNumber){
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber(){
        return serialNumber;
    }

@Override
public String toString(){
    return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                                .append("id",getId())
                                .append("fkId",getFkId())
                                .append("muId",getMuId())
                                .append("createBy",getCreateBy())
                                .append("createTime",getCreateTime())
                                .append("updateBy",getUpdateBy())
                                .append("updateTime",getUpdateTime())
                                .append("remark",getRemark())
                                .append("delFlag",getDelFlag())
                                .append("sectionName",getSectionName())
                                .append("dataTime",getDataTime())
                                .append("sectionId",getSectionId())
                                .append("startName",getStartName())
                                .append("endName",getEndName())
                                .append("startPileNumber",getStartPileNumber())
                                .append("endPileNumber",getEndPileNumber())
                                .append("useTime",getUseTime())
                                .append("serialNumber",getSerialNumber())
                .toString();
        }
}
